package com.leanin.form.service;

import com.leanin.form.model.request.FollowFormDTO;
import com.leanin.form.model.request.FormQueryDTO;
import com.leanin.form.model.response.CommonResponseResult;
import com.leanin.form.model.response.QueryResponseResult;
import com.leanin.form.model.response.ResponseResult;

/**
 * @author CPJ.
 * @date 2019/6/17.
 * @time 9:56.
 */
public interface FollowFormService {

    ResponseResult addFollowForm(FollowFormDTO followFormDTO);

    ResponseResult updateFollowForm(FollowFormDTO followFormDTO);

    QueryResponseResult findByParam(FormQueryDTO formQueryDTO);

    CommonResponseResult findById(Long formId);

    ResponseResult addDownLoadCount(Long formId);

    ResponseResult deleteForm(Long formId);
}
